<?php
/**
 * Project: AIGC
 * Author: moufer <moufer@163.com>
 * Date: 2024/7/20 19:03
 */

namespace module\chat\model;

use module\user\model\User;
use mof\Model;
use think\model\relation\BelongsTo;

/**
 * @property int $id
 * @property int $user_id
 * @property string $name
 * @property string $create_at
 * @property string $update_at
 * @property User $user
 *
 */
class Unlimited extends Model
{
    protected $name = 'chat_unlimited';

    public function user(): BelongsTo
    {
        return $this->belongsTo(User::class, 'user_id');
    }
}